package mongodb

type CarGameDao struct{}

type CarGame struct {
	Gameid     int64
	Game       int8
	Number     int8
	Pool       string
	Peoples    int16
	Createtime int32
}

type CarBet struct {
	Id       int64
	Gameid   int64
	Userid   int64
	User     string
	Digital  int8
	Quantity string
	Reward   string
	Bettime  int32
}

func (dao *CarGameDao) GetCarGame() CarGame {
	return CarGame{}
}

func (dao *CarGameDao) GetCarGameData(gameId int64, game int8, number int8, pool string, peoples int16, createtime int32) CarGame {
	return CarGame{
		Gameid:     gameId,
		Game:       game,
		Number:     number,
		Pool:       pool,
		Peoples:    peoples,
		Createtime: createtime,
	}
}
